﻿namespace Admin.NET.Application;

/// <summary>
/// 考试输出参数
/// </summary>
public class KaoshiOutput
{
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 考试名称
    /// </summary>
    public string Name { get; set; }
    
    /// <summary>
    /// 学年学期
    /// </summary>
    public long? XuenianXueqiId { get; set; } 
    
    /// <summary>
    /// 学年学期 描述
    /// </summary>
    public string XuenianXueqiIdFullname { get; set; } 
    
    /// <summary>
    /// 考试类别
    /// </summary>
    public string LeiBie { get; set; }
    
    /// <summary>
    /// 考号前缀
    /// </summary>
    public string? PerNum { get; set; }
    
    /// <summary>
    /// 开始时间
    /// </summary>
    public DateTime? StartDate { get; set; }
    
    /// <summary>
    /// 结束时间
    /// </summary>
    public DateTime? EndDate { get; set; }
    
    /// <summary>
    /// 考试状态
    /// </summary>
    public string Status { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    public string? Beizhu { get; set; }
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }
    
    }

public class PrintBanjiKaoshengItemDto
{

    /// <summary>
    /// 学生学号
    /// </summary>
    public string Xh { get; set; }

    /// <summary>
    /// 学生 描述
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 试场号
    /// </summary>
    public string? ShiChangNum { get; set; }

    /// <summary>
    /// 试场地址
    /// </summary>
    public string? Address1 { get; set; }
    
    /// <summary>
    /// 座位号
    /// </summary>
    public string? ZuoweiHao { get; set; }

    /// <summary>
    /// 准考证号
    /// </summary>
    public string? ZhunkaoZhenghao { get; set; }
}

public class PrintBanjiKaoshengDto
{
    public string KaoshiName { get; set; }
    public string BanjiName { get; set; }
    public string ShiChangNum { get; set; }

    /// <summary>
    /// 试场地址
    /// </summary>
    public string? Address1 { get; set; }

    public DateTime PrintDate { get; set; }

    public List<PrintBanjiKaoshengItemDto> items { get; set; }

}




